import type React from 'react'
import type { IconProps } from './types'

export const PythonIcon: React.FC<IconProps> = ({ width = 14, height = 14, className = '' }) => {
  return (
    <svg
      width={width}
      height={height}
      viewBox="0 0 15 15"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      className={className}
    >
      <path
        d="M7.5 0C3.67875 0 3.9225 1.67625 3.9225 1.67625L3.92625 3.4125H7.5675V3.9375H2.4375C2.4375 3.9375 0 3.6525 0 7.5C0 11.3475 2.13 11.25 2.13 11.25H3.375V9.43125C3.375 9.43125 3.28875 7.3125 5.4375 7.3125H9.05625C9.05625 7.3125 11.0625 7.35375 11.0625 5.4375V1.875C11.0625 1.875 11.3813 0 7.5 0ZM5.4375 1.125C5.4375 1.125 7.125 1.125 7.125 2.8125C7.125 4.5 5.4375 4.5 5.4375 4.5C5.4375 4.5 3.75 4.5 3.75 2.8125C3.75 1.125 5.4375 1.125 5.4375 1.125Z"
        fill="currentColor"
      />
      <path
        d="M7.5 15C11.3213 15 11.0775 13.3238 11.0775 13.3238L11.0738 11.5875H7.4325V11.0625H12.5625C12.5625 11.0625 15 11.3475 15 7.5C15 3.6525 12.87 3.75 12.87 3.75H11.625V5.56875C11.625 5.56875 11.7113 7.6875 9.5625 7.6875H5.94375C5.94375 7.6875 3.9375 7.64625 3.9375 9.5625V13.125C3.9375 13.125 3.61875 15 7.5 15ZM9.5625 13.875C9.5625 13.875 7.875 13.875 7.875 12.1875C7.875 10.5 9.5625 10.5 9.5625 10.5C9.5625 10.5 11.25 10.5 11.25 12.1875C11.25 13.875 9.5625 13.875 9.5625 13.875Z"
        fill="currentColor"
      />
    </svg>
  )
}

export default PythonIcon
